//
//  AlertView.m
//  ELife
//
//  Created by feng lu on 11-5-27.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import "AlertView.h"


@implementation AlertView


+(void) showAlert:(NSString*)Title
{
    UIAlertView* baseAlert = [[UIAlertView alloc] initWithTitle:@"提示框" message:Title delegate:self
											  cancelButtonTitle:nil otherButtonTitles:@"确定", nil];
	[baseAlert show];
	[baseAlert release];
}


+(void) showAlert:(NSString *)Title action:(NSString*)action
{
    UIAlertView* baseAlert = 
    [[UIAlertView alloc] initWithTitle:@"提示框" message:Title delegate:self cancelButtonTitle:nil otherButtonTitles:@"确定", action, nil];
	[baseAlert show];
	[baseAlert release];
}

@end
